dsh-environment-tray:在 DSH 桌面版里管理环境变量与密钥

dsh-environment-tray 是 songshuhuoban 维护的 DeepSeek Harness 桌面版插件(0.1.3),在会话右上角提供环境变量面板,支持搜索、查看复制、行内编辑、新建与删除,并管理 .env 与密钥;Windows 下可操作用户级与系统级变量。支持 DSH 0.2.1-rc.2 及兼容 0.2.0-rc.2。安装时在插件页填写包名 dsh-environment-tray 并启用。插件以 DSH 进程权限运行,安装前请核对源码与许可证。

Read More
dsh-ohos-shell: Completing the Subprocess Runtime Environment on HarmonyOS/OpenHarmony

dsh-ohos-shell is a plugin for DeepSeek Harness targeted at HarmonyOS/OpenHarmony, designed to address subprocess runtime compatibility issues. By setting zsh environment variables, handling read-only /tmp and sandbox UID differences, and supplementing missing shell configurations, it ensures successful tool invocation. After installation, the plugin injects the harmonybrew environment into the process and provides the necessary function libraries, fixing the defect that the default system shell does not support standard configuration files.

Read More
dsh-dotenv: .env Parsing and Serialization

The `dsh-dotenv` plugin for DeepSeek Harness (DSH) aims to address environment variable management by providing localized parsing and serialization of `.env` files. Implemented in pure Node.js and requiring no network services, all its logic runs locally. Users can install it with `dsh plugin add` and enable it via configuration in `package.json`. Because it involves executing third-party code locally, users should review the source code before use to ensure safety and compliance. The plugin is suitable for scenarios that prioritize dependency-free and lightweight configuration management.

Read More
dsh-env-manager: Environment Variable Management

`dsh-env-manager` is a local Node.js plugin for DeepSeek Harness (DSH), designed to address the pain points of environment variable management. It automatically validates the consistency between code references and `.env` files, identifies missing or unused variables, and generates a sanitized `.env.example` template. The tool does not rely on network access, supports skipping directory scans such as `node_modules`, and quickly manages configuration through the `env_check` and `env_example` commands. It is recommended to review the source code before installation to ensure security.

Read More
dsh-env-: A Local Tool for Converting .env and JSON in a Session

dsh-env- is a pure Node.js plugin maintained by uckkk, focused on performing bidirectional conversion between .env files and JSON format locally. It requires no external service dependencies, supports installation via the command line, and can be integrated into DeepSeek Harness (DSH) sessions. This tool is suitable for format conversion in offline environments, but users must audit the source code themselves and ensure correct dependency versions.

Read More
Enable DSH subprocesses to inherit the full Harness environment

dsh-subprocess-inherit-environment is an optional plugin for DSH (DeepSeek Harness) designed to address the issue where subprocesses cannot access the full environment variables due to the default credential cleaning mechanism. By wrapping the `ctx.subprocess` service, the plugin preserves and passes the current Harness process's complete `process.env` when creating subprocesses, while ensuring that the caller's explicit environment overrides and undefined states remain intact. Installation involves cloning the repository and adding it to the DSH profile; removing it restores the default isolation behavior. The plugin is intended for specialized, trusted local deployment scenarios, such as when certain CLIs, scripts, or MCP servers need to read environment values. However, it should be noted that enabling this plugin...

Read More
dsh-workspace-env: Inject DSH pwsh subprocess environment variables from workspace .env

`dsh-workspace-env` is a DSH plugin designed to address environment variable management issues in the Windows PowerShell (`pwsh`) environment. It achieves this by enhancing the `pwsh` executor to automatically read the `.env` file in the current workspace directory during each tool invocation and inject its variables into child processes, thereby realizing project isolation and avoiding issues like cross-contamination or the need to restart processes for changes to take effect. Its core features include automatically switching environments per workspace; real-time reading of `.env` on every call with immediate effect upon modification; support for `${VAR}` variable references and append operations (e.g., PATH prepending); automatic handling of quotes and comments; and strict ignoring of `DSH_*` prefix variables to prevent conflicts.

Read More
Essential for Beginners: Configuring Flask Files and Environment Variables

This article introduces methods for Flask application configuration management, with the core being the use of configuration files and environment variables to enhance flexibility and security. Configuration files (e.g., config.py) are used to centrally manage non-sensitive configurations. They distinguish different environments (development/production) through classes like BaseConfig, DevelopmentConfig, and ProductionConfig. In app.py, the corresponding configuration is loaded based on the FLASK_ENV environment variable: for example, enabling DEBUG and using SQLite in development, while disabling DEBUG and configuring PostgreSQL in production. Environment variables are used to manage sensitive information (such as SECRET_KEY and database passwords). After setting them at the system level, they are read via os.environ.get to avoid exposing code. During development, the .env file and python-dotenv library can simplify operations: define variables in .env, and load_dotenv() in the code automatically loads them. Additionally, .env should be added to .gitignore. Best practices include: environment variables taking precedence over configuration files, separating configurations for different environments (SQLite and DEBUG for development, environment-variable-based database connections for production), and ensuring sensitive information is always stored in environment variables. By reasonably combining these three methods, the application becomes more flexible, secure, and easy to deploy.

Read More